Fixing incorrectly added text