setting vars only if not already set