small update to the error catching base