fix serialize int and long
fix uint64 codec