added disable check to click event