fixed on click issue after x

this is final fix for click issue on line49,50