fix db_faillog aggr