use baseurl for resouce references