make some variable local