fix table name for imported records