fixing the base urls