fix the initial mode status issue