fixed bugs with margin at the head
fixed header size