cleand up trailing whitespaces and indentaion