make it fit in dialog box