[FIX] fixed resize of queue