output cleaning
first version