fix compile failed bug