make selfLink namespace aware