math exercise fixes