safe_yaml fixed