fixed data.code err in _prov, _route now takes array of {}s