fix bug: when start fail, the process does not exit
fix some useless file