location simulation fix