fixes #3543 labels should be treated as array