add auto-range menu item and it works correctly.