improve compiler compatibility.