changed erroneous 1 to a 2 in a swap_endian call