fixed castling substitutions