fix locations db screw up