use correct pid file