fix in permissions-plugin