fix in permission-plugin