add frame size setting