get rid of garbage chars