csv read fix, and TYPE_LONGLONG was used somewhere else