fix savi js crash on missing country code