Fixed URL trailing bug.