fix bug for when mode is ALL to make UK -> GB

was using the $mode rather than the loop variable ($pos)