fixed no smooth movement [issue 1]