bugfix, suburl defaults to empty string when suburl is undefined
Merge pull request #501 from fundon/fix_suburl_undefined

bugfix, suburl defaults to empty string when suburl is undefined