fix bug in change mojo mode