fix incorrect current location for index and tag view