Validation failed: old_str must be a string