fixed os.du and subprocess.wait