hotfix the click event firing multiple times