fix avalon ms-if