fixing yaml null issue [skip ci]