Make sure local var is assigned