add support for table prefixes