history item doesn't save to db