fixed error in move