fix weirdness of expandSummary