San Francisco commits major mistakes at the worst time