fixed auto-allocation of variables in SCI