delete a log ,fix stop bug