Fixed the production mode setting