correct size of mem attriburte in debug