resetting position when restarting