fixed hex dump to work correctly - needed byte swapping to account for endianess