Fixed Generating URL issue.