Fixes task_priority init