fixed hopefully the last header resize bugs