finally fixed that utterly stupid size reset thing