added support for summary null case