fix perm
Merge pull request #1 from bpourriahi/perm

fix perm