Fix location reset