fix double click issue