remove usused modes