fix db.bind method