revert cmd_yaml change that broke basic functionality