changed message.labels to an array