Fixed error case.