fixes #904

fixes #904 for label names