errors when automating inspection