update to old hadoop api, clean reducer