pid file fix