fixed a but with the location not updating correctly