fixed a bug in the json