fix AutoForm