fix summary plugin bug