multiple click bug fix.