Exeptions fixed

scan process run first