fix max.asm