Fix bad URL
Sometimes attributes is an object and that's okay