Fixed up some debug things