finally logpanel is working