fixed clicking input issue