fixed close index reader