deal with the header spacing in a proper way