to show sm version
change logic of removing pid_file
fix
Merge branch 'clean_pid'