fix imm bug. now is 0-65535