replace the variable