fix the click issue