fixing debug toolbar