added a missing warning to sample loading code (nw)