fix dynamic click events