Fixed bug in summary