fixed integer issue in json