fix error on Size