Fixed note and formula editor exception