minor tweak to how missing/empty inputs are handled