Fix a bug for privilege

Fix a bug for privilege #7