fix more resize issues