removes stray text at end