compatible to go 1.0