ierr variable name bug fixed