Autoform correction