buggy version of equals&co, it does sum and product perfectly