fixed a bug with showing summary