fixed debugging bug

the url should have been trimmed so there isn't so long string