fixed getLast showing oldest transaction