fixed doubleclick bug (#2)

fixed doubleclick bug (#2)