do not generate url link if obj is None