minor bug fixes for creating single summary