fix issue in compile