validation on castling fixed