fix lost/click event bug