fix w-resize