fix assertion failure: recognize one more error type