fix bugs for dde daemon api changes