fix addurl functionality on root page.