sumFactors specialcase bugfix