Distribute was returning a structure instead of a string