fixing issues have to fix JSON response reading next