fix exception if region[1] is ''
Merge pull request #1 from PekopT/master

Fixed region and tz index exceptions.