compress text/tidy up