fixed reset

seems to work fine now, able to reset the position properly