Fixed var definition, and another temp path error.