fix errorf in marshal.go

author: @virtuallynathan