fixed the JSON error, continue debugging server connection