Proper check of the scan index.
Carriage return.
Replace tabs by four spaces.