Fixed error where expected URL attribute is not found