Removing some special characters from parameters