Change to Production Mode

Fix a minor bug of Installer