fixed total mistake