add unique engine id to each header id