better cleaning with sed