more sum cleanups