change debug to settings