Fixe some condition error for existing resources