fix frame size.