fixed problem with multiple uris and lazy tables