compatible with go1.4