better text dumping