fixed problem with label properties