fix yaml parsing