Fix error fields