Fixed nperm naming bug