update for older golang version