fix uint16 to long