Fix to setViewBaseUrl