Fix errors in scanner