fix the yaml loading