fix header measure issue