correctly handling disabled entries in yaml