adjust frame size
add an important comment