remove unused code block