fixed a small bug when checking if promotion move