fixed single click bug