fixbug on win for read JSON