fixed non-DEBUG build (nw)