fix click behavior