db: rebuild for broken