cleaning up the textwq