remove wdapi dependency