Fix bug in production environment configuration