fix issue if the responce is not json object
fix issue if response if not json object