fixed bug with move,rotate