avoiding error