fixed error with move