fixed not matching ids and changed history to hold objects instead of plain text