fixed some config errors on production serving.