fix copy  and move