fixing locations controller