removing invalid chars added by auto formating