Fix spark brand and model detection