tqueue fix