change wait queue