Baseurl to null from '' so if/else works.