Attempted to fix castling rights, but incomplete still