fix compile4