fix nndist usage