remove incorrectly added character