added mips patch