control mode bug fixed