fix summary calculations on overview page