Fixed a bug when ignoring error checks.