fix replace_invalid_sequence
Update CHANGELOG.md