change the init frame size