set mode 1 for init