Fixing addresses base 4 conversion