fix event bind bug