fixing debug settings