support DDS
fix a bug