lab04 scanner error