early check of current url, so we do not do getTables on every sql query