Fixed bug when json file not exist.