fix classbuilder