another fix for double click