fix compile6