end of scanner without errrors