Fixed a bug with not trimed label names.