change from os.path.sep to os.sep