fix dbclick bug