fixed up loop through for aborting recognition