Update running env
Fix unused variable warning