OM-89: subtle set state bug on inputs