fixed pid file