fixing bug to display proper transactions