Bug fixed for menu and object rename