fixed JSON problem