added a few assertions in InputFieldController