Fixed double-click error