size taking fixes