moving keys to header