modifed size of frame