bug fix: memory issues accessing different URLs