fix check for chrome