fix the bug for debug_toolbar