Added condition incase there is no label property.