fix index name clash for multiple models