corrected JSON errors