fixed bugs in targeted summary