fix debug.go bug on last