move header to ::outputHeader