making sanitation of twitter string more elegant and less error prone