change os.join to os.path.join