cpu_scheduler compare fix