fix for main_comp