fixed double click issue