Fix issues with quote for tabledata