fix notebook creation