Fixed up an error condition