Fixed mHistory/undos