fixed major bug, with go test