fixed wrong parameter count check in wdc