Fix url prefix and correct data() call