db error handling
a