fix read json from disk