clean up play and add match history