fix bug in e_move