strip unused code