Bugfix saving data into history with apostroph