only modify handling of err.Error()