debug optionmenu in new  and edit page