fixed a bug in DO call