deque fix