fix cond rebuild