more debugging and gofmt fix