fix bug in note body display
fix math in exercises