Fixed http request null errors