fix initial position bug