don't call baseUrl if it has already been set