Set variable only once