adding db error