fixed triple click bug