fix up the notebook