fixed main in autocorrect