fixed bug indexing gratitudes