fix tags setting.
set env setting.
fix untracked file remove function.