fix bug: reset position bug