add logic when url list is 0 but sub list is not 0