bug fixed for index cache map