fix size setting when loading example