fix escaping of tablename