little refine for headerView