improve check for index loads