fix task pull ordering