Fixing doctor error condition.