fix sizeHasChanged