fix close inhibit