close issues when state done