fix a compile error in go1.0