Fixed a typo in setBaseURL function