fixing images add (i) function for instructions
precompile