remove PriorityScheduler to core