cleanup unused code