Fixed a missed go1.0 bug