fix size saving