tidy up earlyscanner