fix bug: moving when moving