removal of nonsense