fix issue where check was on textarea as well