Mode tab removal at line endings