fix compile2