minor bugfix in nx_part