fix chrome check bug
formatting