fix query debug comments