fix dominant mode bug