fix for debug toolbar