changed result.item to result.url