fix up whitelist and prod config