small improvement in bb_schedule