cleanup the custom block chapter