Fix the getUrl function name