fix missing close code tag