fix in move gen