Fixed error in base 256 conversions