fix rendering in summary helper