Fixed error when wedge handler time exceeded