header handling on import