fixed database lengths for json info