removed unnecessary var setting