Fix the bug that doesn't expand all urls.