fix for Go 1.x