update tab height; fix warning