Made to check if label was empty before adding to object.
fix #1