why the variable change?