Avoiding error outputs