fix definition creation