bugfix - header keys has to be in lower case