fix exception if region[1] is ''