Fixed bug with labels