Fixed reference to error code