notebook: minor ui bug fixes