fixing double click