bugfix click event