fixed click event problem