Int64 and fix write bug