bugfix for multiple table import