Fix lower case header handling