correctly saving and retrieving ddslick index from session