fix invalid move line