removed unnecessary http request