switched to smartresize