fix compile integration bug