adding http head request and bug fixes