fix newselect for mips