change view addLocation to namespace hints