forgot to uncomment a code block in minpermdist after debugging