error handling revisited
kill duplicate scanning since there will be no double runs