fails with ngsi; need to fix