fix base urls