prevent multiple loads of the index