--fix deleteSQL issue