change save behavior
fix bug for context menu
fix bug for context menu