bugfix with labels