Fix issue with production environment config