fix WMD adapter (dir separation)