fix configuration in production