fix superfluous code block