fixed typo- now labels outputting correctly