Fixed the sanitized inputs