fix index name generation