fix filter for non-alphanumeric characters