fixed bugg with WDD reference