Fix currentModification in chat system