fixing production environment configuration