fix rem on wrong line stop pid file