fix notebook parsing and display