refactored text sanitation
0.7.4