base url and retrieveurl problem