fixed data table import bug with pgsql databases