disable unused code