remove codes not included in yaml