Fixing historyTree and removing method not used