Properly return sanitized string