forced defaults and convert offsets into local variables