Bugfix for autoform submit