fix bug with data.json