fix chrome detection