Fixed possible problem with header copy.