Removed unnecessary http call