remove err from res.end