fix emotion and index in models