fix infinite loop if url not set, update data.json