filter out unwanted special chars