removed tmp.pid