San Francisco has some contract problems to deal with.