Revert "fixes for markup menu"

This reverts commit 1d671894f5ef6be4439437eccec5321d64cd915f.