removed extra logging, fixed issue in collection.reduce