check if labels are defined before displaying
Merge branch 'ongoing' of github.com:yacomink/pt into ongoing