fix wdj bug