Fixed small bug in the getUrl function for helpers.