fixing the headers on the key