fixed initWithBaseUrl so it works now