fix DC query issue