Fixed issue #45 for statistics view and transaciton view