change variable name

collides with amx_assembly
dereference one-dimensional arrays
fix typo