Fix bug entering bulk update mode

Fix bug entering bulk update mode.