deleted instance widget,move relative logic to monolog