add compile label of context menu, fix some bugs