cleanup on header