add menu for ruler space fix #144