fixing notebook formatting