add condition for incomplete problems