Remove unnecessary code block