Fix error messages

Thanks to `go vet` for finding these problems