processing database error