another small fix for debug toolbar

issue #1747