fix bug where multiple data tables cannot be rendered on the same page (fixes #227)