Fixed Issue #277: URL assembling error