added filter for a safe string