ensure compatibilty with go1.1