adjusted start scan error handling