double click to exit bug fixed