clean up code block