made a backup plan for lack of precursor acc
moved the cleaning of junk to the very end of the process to prevent errors