fix the yaml parser redfine bug