super hacky fix to issue #1310

The last entry in locs is laundered through val = float(str(val))

issue #1310