resturl fix