Change ADVANCE_MODE to ADVANCED_MODE.