try to fix compile hook