making reducer not write the key