error check for DDS