simple fix for permissive domain fix