fix 'missing return statement' for go 1.0.2