resize fix, resize to history