max error dist has to be a string
Bulk working