fixes double click execution