Fix oldsize bug