Cleaning up sys.error's