fix crush if exist closed indexes