fix res_move