change wording for index error