fix thred priorities