fixing dowloand json file