fix sched_debug format detection logic