modify addheadView and add an footerview