fixed inverted_index