fix bug when labels dont exist yet