cleanup the output some