fix location cancel buttons