removed main_check because it forced rebuild