fix conflict with click event