fix notebook formatting