fixed os.path.dirname