fix location syntax