Fix null values in local storage