fixed a bug on the draw-lock.