Fixed the bug where the frame send were not saved in the history