fixed the os.path issue
fixed the os.path issue