removed raise exception on db instance