cleanup a bit of text