some more fixes to NEX extraction