fix frame size