fix for changed comp_in_new function