adds function to remove non-ascii characters