* fix bug; 
+ add tmp/pids folder