fix for safe_yaml gem compatibility