the input needs to be checked, not the li