Fixed lost variable definition