lazy evaluation of url attribute