handle double clicks gracefully