Remove accidental errorformat function left over