- fix when http reutrns null not to crash