remove unnecessary size field