cleans up text