fix transaction order in history