cleaning up
better error reporting when runnign out of disk space