working on MIPS...
working on MIPS...
bugfix from Changmin Heo