fixing editor with no equations