Perm config bug fixed