fixed summary logic in Liberation.js