1. fix places where immed is used in place of imm to be consistent with