Fixed nasty escape bug when extracting label.