fix wdm dependancy