small fixes, created draw_header