bug fix for YDN API