fix bug if res.send is called twice. incremented to 3.0.0