deal with peer cannot create reset file in tmp