fixed bug with how urls are logged