fix permissions for proxied modules