fix wrong class name for safe_parse method