fix debug toolbar