remove unnecessary fields in index