hotfix for proper resizeing. last nil value fix broke it