fix downcase bug in iso codes