fix inputTypes bug (sigh)