fix size when passed to constructor