fix multisite config generation