moved debug opton to widget section