update lastautono.txt

update lastAutoNo.txt
correct some error handling

correct some error handling