fix HEAD request