fixed name - key bug when starting with different pid file