Tried my best at fixing a segfault appearing out of nowhere. Care is
advised when constructing a NBVM manually.