fix function call and error message
fix error when augmenting notebook with no history