remove debugging output
delete trailing whitespace