fixes for showing note on contract id page.