fix new frame size