modify tab and init. win size