fix bug: size attribute not update; change: do not store empty size:amount data