Bug in simulate_move