fixes caste in yaml