remove adapt_permissions