fix workflow for child classes