fixed UnaryFn and invoke on map entries