fix compile failed