fix menus for preview/edit