1. add exception process in scanner
2. add cleaner