make sure that input values are stateful