fix stupid error preventing nbs in subdirs to be deleted