fix a bug on run os.system()