fix transaction history problem