remove log on type check