Fix tables importing.