save OpCodes in memory problem