got it back to working
indexes open and close