hopefuly fixing a bug in the json