fixing doubleclick