fixing total