avoid emptiness in the JSON file