fix incorrect number of bytes per avatar