Fix runtime error with missin var symbol