use getUrl instead
mock getUrl, fix build