addslashes was needed in case a label contains quotes.