fix notebook cell parsing