improved the reversal of a move that was not accepted to use .assign