fix takenBonuses instead of takenHints on line 506