remove unused function statsummary