fix error overflow
fix error deque